// TOWN DIALOGUE SCRIPT
//    Town 7: Small town

// This is the dialogue for this town.
// You can use states numbered from 1 to 199.

begintalkscript;

variables;

short i,j,k,r1,choice;

begintalknode 1;
	state = -1;
	personality = 141;
	nextstate = 11;
	condition = 1;
	question = "Guard";
	text1 = "This is a guard.";
	text5 = "_Guard._";
	action = INTRO;

begintalknode 2;
	state = 11;
	personality = 141;
	nextstate = 12;
	condition = 1;
	question = "What is your job?";
	text1 = "_Guarding._ You can either pass this guard or fail.";

begintalknode 3;
	state = 12;
	personality = 141;
	nextstate = -1;
	condition = 1;
	question = "Pass.";
	text1 = "The guard is now gone.";
	action = END_TALK;
	code =
		erase_char(character_talking_to());
	break;

begintalknode 4;
	state = 12;
	personality = 141;
	nextstate = -1;
	condition = 1;
	question = "Fail.";
	text1 = "The conversation ends.";
	action = END_TALK;

